import React from 'react';

const If = ({ condition, children }) => <React.Fragment>{ condition ? children : null }</React.Fragment>;

If.displayName = 'If';

export default If;
